package com.example.demo.controller;

import java.text.ParseException;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.example.demo.custom.AjaxResult;
import com.example.demo.service.ErShouCHeBuZuiZHongTuBiaoService;

/**
 * @author
 * 二手车部图表
 */
@RestController
@RequestMapping(value = "/ershouCheTuBiao")
public class ErShouCHeBuZuiZHongTUBiaoController {
	@Autowired
	private ErShouCHeBuZuiZHongTuBiaoService zuizhongService;
	/**
	 * @return new AjaxResult (二手车部车辆二手车台数TOP4(本年)
	 * @throws ParseException
	 */
	@RequestMapping(value = "/cheLiangXiaoShouPaiMing")
	public Object XiaoShouTaiShuTop() throws ParseException {
		Object paiMing = zuizhongService.cheLiangXiaoShouPaiMing();
		return new AjaxResult (paiMing);
	}

	/**
	 * @return new AjaxResult (二手车部车辆二手车收入TOP4
	 * @throws ParseException
	 */
	@RequestMapping(value = "/cheLiangXiaoShouShouRuPaiMing")
	public Object XiaoShouShouRuTop() throws ParseException {
		return new AjaxResult (zuizhongService.XiaoShouShouRuTop());
	}

	/**
	 * @return new AjaxResult (二手车部衍生二手车收入TOP4
	 * @throws ParseException
	 */

	@RequestMapping(value = "/XiaoShouYanShengShouRuTop")
	public Object XiaoShouYanShengShouRuTop() throws ParseException {
		
		return new AjaxResult (zuizhongService.XiaoShouYanShengShouRuTop());
		
	}

	/**
	 * @return new AjaxResult (二手车部年度二手车台数一览（实际）（分12个月）
	 * @throws ParseException
	 */
	@RequestMapping(value = "/nianDuZongHeShouRuShiJi")
	public Object XiaoShouBuNianDuZongHeShouRuShiJi() throws ParseException {
		
		return new AjaxResult (zuizhongService.XiaoShouBuNianDuZongHeShouRuShiJi());
		
	}

	/**
	 * @return new AjaxResult (二手车部年度二手车台数一览（目标）（分12个月）
	 * @throws ParseException
	 */
	@RequestMapping(value = "/nianDuZongHeShouRuMuBiao")
	public Object XiaoShouBuNianDuZongHeShouRuMuBiao() throws ParseException {
		
		return new AjaxResult (zuizhongService.XiaoShouBuNianDuZongHeShouRuMuBiao());
		
	}

	/**
	 * @return new AjaxResult (二手车部人员状况 (按年)
	 * @throws ParseException
	 */
	@RequestMapping(value = "/YearXiaoShouBuRenYuan")
	public Object YearXiaoShouBuRenYuan() throws ParseException {
		
		return new AjaxResult (zuizhongService.YearXiaoShouBuRenYuan());
		
	}

	/**
	 * @return new AjaxResult (二手车部人员状况 (按月)
	 * @throws ParseException
	 */
	@RequestMapping(value = "/MonthXiaoShouBuRenYuan")
	public Object MonthXiaoShouBuRenYuan() throws ParseException {
		
		return new AjaxResult (zuizhongService.MonthXiaoShouBuRenYuan());
		
	}

	/**
	 * @return new AjaxResult (车辆库存时间数量(燃油车数量)
	 */
	@RequestMapping(value = "/cheLiangKuCunShiJianShuLiang")
	public Object cheLiangKuCunShiJianShuLiang() {
		
		return new AjaxResult (zuizhongService.cheLiangKuCunShiJianShuLiang());
		
	}

	/**
	 * @return new AjaxResult (车辆库存时间数量(新能源车数量)
	 */
	@RequestMapping(value = "/cheLiangKuCunShiJianShuLiangXinNengYuan")
	public Object cheLiangKuCunShiJianShuLiangXinNengYuan() {
		
		return new AjaxResult (zuizhongService.cheLiangKuCunShiJianShuLiangXinNengYuan());
		
	}

	/**
	 * @return new AjaxResult (车辆库存时间数量 (新能源车金额)
	 */
	@RequestMapping(value = "/cheLiangKuCunShiJianShuLiangXinNengYuanJinE")
	public Object cheLiangKuCunShiJianShuLiangXinNengYuanJinE() {
		
		return new AjaxResult (zuizhongService.cheLiangKuCunShiJianShuLiangXinNengYuanJinE());
		
	}

	/**
	 * @return new AjaxResult (车辆库存时间数量 (燃油车金额)
	 */
	@RequestMapping(value = "/cheLiangKuCunShiJianShuLiangRanYouCheJinE")
	public Object cheLiangKuCunShiJianShuLiangRanYouCheJinE() {
		
		return new AjaxResult (zuizhongService.cheLiangKuCunShiJianShuLiangRanYouCheJinE());
		
	}

	/**
	 * @return new AjaxResult (二手车部转介绍车辆二手车台数TOP4(人员排名)
	 * @throws ParseException
	 */
	@RequestMapping(value = "/ZhuanJieShaoCheLiangXiaoShouTaiShuPaiMing")
	public Object ZhuanJieShaoCheLiangXiaoShouTaiShuPaiMing() throws ParseException {
		
		return new AjaxResult (zuizhongService.ZhuanJieShaoCheLiangXiaoShouTaiShuPaiMing());
		
	}

	/**
	 * @return new AjaxResult (二手车部衍生业务本月收入对比（万元）
	 * @throws ParseException
	 */
	@RequestMapping(value = "/BenYueYanShengXiangMuShouRuDuiBi")
	public Object BenYueYanShengXiangMuShouRuDuiBi() throws ParseException {
		
		return new AjaxResult (zuizhongService.BenYueYanShengXiangMuShouRuDuiBi());
		
	}

	/**
	 * @return new AjaxResult (二手车部车辆业务本年度月收入对比（万元）(12月)
	 * @throws ParseException
	 */
	@RequestMapping(value = "/XiaoShouBuCheLiangYeWuBenNianDuYueSHouRUDuiBi")
	public Object XiaoShouBuCheLiangYeWuBenNianDuYueSHouRUDuiBi() throws ParseException {
		
		return new AjaxResult (zuizhongService.XiaoShouBuCheLiangYeWuBenNianDuYueSHouRUDuiBi());
		
	}

	/**
	 * @return new AjaxResult (二手车部衍生业务本年度月收入对比（万元）(12月)
	 * @throws ParseException
	 */
	@RequestMapping(value = "/XiaoShouBuYanShengYeWuBenNianDuYueSHouRUDuiBi")
	public Object XiaoShouBuYanShengYeWuBenNianDuYueSHouRUDuiBi() throws ParseException {
		
		return new AjaxResult (zuizhongService.XiaoShouBuYanShengYeWuBenNianDuYueSHouRUDuiBi());
		
	}

	/**
	 * @return new AjaxResult (二手车部车辆业务本月收入对比（万元） 每个车型收入，折线图或柱形图
	 * @throws ParseException
	 */
	@RequestMapping(value = "/MeiGeCheXingShouRuTu")
	public Object MeiGeCheXingShouRuTu() throws ParseException {
		
		return new AjaxResult (zuizhongService.MeiGeCheXingShouRuTu());
		
	}

	/**
	 * @return new AjaxResult (车辆年度收入TOP3（万元）
	 * @throws ParseException 
	 */
	@RequestMapping(value = "/MeiGeCheXingShouRuTuPaiMing")
	public Object MeiGeCheXingShouRuTuPaiMing() throws ParseException {
		
		return new AjaxResult (zuizhongService.MeiGeCheXingShouRuTuPaiMing());
		
	}

	/**
	 * @return new AjaxResult (衍生年度收入TOP3（万元）
	 * @throws ParseException
	 */
	@RequestMapping(value = "/YanShengNianDUShouRuPaiMing")
	public Object YanShengNianDUShouRuPaiMing() throws ParseException {
		
		return new AjaxResult (zuizhongService.YanShengNianDUShouRuPaiMing());
		
	}

	/**
	 * @return new AjaxResult (二手车部车辆业务本年度月毛利率对比（万元）(12个月)
	 * @throws ParseException
	 */
	@RequestMapping(value = "/XiaoShouBuCheLiangYeWuBenNianDuYueMaoLiLVDuiBi")
	public Object XiaoShouBuCheLiangYeWuBenNianDuYueMaoLiLVDuiBi() throws ParseException {
		
		return new AjaxResult (zuizhongService.XiaoShouBuCheLiangYeWuBenNianDuYueMaoLiLVDuiBi());
		
	}

	/**
	 * @return new AjaxResult (二手车部衍生业务本年度月毛利率对比（万元）(12个月)
	 * @throws ParseException
	 */
	@RequestMapping(value = "/XiaoShouBuYanShengYeWuBenNianDuYueMaoLiLVDuiBi")
	public Object XiaoShouBuYanShengYeWuBenNianDuYueMaoLiLVDuiBi() throws ParseException {
		
		return new AjaxResult (zuizhongService.XiaoShouBuYanShengYeWuBenNianDuYueMaoLiLVDuiBi());
		
	}

	/**
	 * @return new AjaxResult (二手车部车辆业务本月成本对比（万元） 每个车型成本，折线图或柱形图
	 * @throws ParseException
	 */
	@RequestMapping(value = "/MeiGeCheXingCHengBenTu")
	public Object MeiGeCheXingCHengBenTu() throws ParseException {
		
		return new AjaxResult (zuizhongService.MeiGeCheXingCHengBenTu());
		
	}

	/**
	 * @return new AjaxResult (车辆年度成本TOP3（万元）
	 * @throws ParseException
	 */
	@RequestMapping(value = "/CHeLiangNianDuChengBenPaiMing")
	public Object CHeLiangNianDuChengBenPaiMing() throws ParseException {
		
		return new AjaxResult (zuizhongService.CHeLiangNianDuChengBenPaiMing());
		
	}

	/**
	 * @return new AjaxResult (衍生年度成本TOP3（万元）
	 * @throws ParseException
	 */
	@RequestMapping(value = "/YanShengNianDUChengBenPaiMing")
	public Object YanShengNianDUChengBenPaiMing() throws ParseException {
		
		return new AjaxResult (zuizhongService.YanShengNianDUChengBenPaiMing());
		
	}
	
	/**
	 * @return new AjaxResult (二手车部车辆业务本年度月毛利对比（万元）
	 * @throws ParseException
	 */
	@RequestMapping(value = "/xiaoshoubuCheLiangYeWuBennianDuYueMaoLiDuiBi")
	public Object xiaoshoubuCheLiangYeWuBennianDuYueMaoLiDuiBi() throws ParseException {
		
		return new AjaxResult (zuizhongService.xiaoshoubuCheLiangYeWuBennianDuYueMaoLiDuiBi());
		
	}
	
	/**
	 * @return new AjaxResult (二手车部衍生业务本年度月成本对比（万元）
	 * @throws ParseException
	 */
	@RequestMapping(value = "/XiaoShouBuYanShengYeWuBenNianDuYueChengBenDuiBi")
	public Object XiaoShouBuYanShengYeWuBenNianDuYueChengBenDuiBi() throws ParseException {
		
		return new AjaxResult (zuizhongService.XiaoShouBuYanShengYeWuBenNianDuYueChengBenDuiBi());
		
	}
	
	/**
	 * @return new AjaxResult (二手车部衍生业务本月成本对比（万元）
	 * @throws ParseException
	 */
	@RequestMapping(value = "/BenYueYanShengXiangMuChengBenDuiBi")
	public Object BenYueYanShengXiangMuChengBenDuiBi() throws ParseException {
		
		return new AjaxResult (zuizhongService.BenYueYanShengXiangMuChengBenDuiBi());
		
	}
	
	
	/**
	 * @return new AjaxResult (二手车部车辆业务本年度月成本对比（万元）
	 * @throws ParseException
	 */
	@RequestMapping(value = "/xiaoshoubuCheLiangYeWuBennianDuYueChengBenDuiBi")
	public Object xiaoshoubuCheLiangYeWuBennianDuYueChengBenDuiBi() throws ParseException {
		
		return new AjaxResult (zuizhongService.xiaoshoubuCheLiangYeWuBennianDuYueChengBenDuiBi());
		
	}
	
	
	/**
	 * @return  二手车部衍生业务本年度月毛利对比（万元）
	 * @throws ParseException
	 */
	@RequestMapping(value = "/XiaoShouBuYanShengYeWubennianduYueMaoliDuiBi")
	public Object XiaoShouBuYanShengYeWubennianduYueMaoliDuiBi() throws ParseException {
		
		return new AjaxResult (zuizhongService.XiaoShouBuYanShengYeWubennianduYueMaoliDuiBi());
		
	}
	/**
	 * @return 二手车部车辆业务本月毛利对比（万元） 每个车型收入，折线图或柱形图
	 * @throws ParseException
	 */
	@RequestMapping(value = "/MeiGeCheXingMaoLiTu")
	public Object MeiGeCheXingMaoLiTu() throws ParseException {
		
		return new AjaxResult (zuizhongService.MeiGeCheXingMaoLiTu());
		
	}
	
	/**
	 * @return 二手车部衍生业务本月毛利对比（万元）
	 * @throws ParseException
	 */
	@RequestMapping(value = "/XiaoShouBuYanShengYeWuBenyueMaoliDuiBi")
	public Object XiaoShouBuYanShengYeWuBenyueMaoliDuiBi() throws ParseException {
		
		return new AjaxResult (zuizhongService.XiaoShouBuYanShengYeWuBenyueMaoliDuiBi());
		
	}
	
	/**
	 * @return 车辆年度毛利TOP3（万元）
	 * @throws ParseException
	 */
	@RequestMapping(value = "/CHeLiangNianDuMaoLiPaiMing")
	public Object CHeLiangNianDuMaoLiPaiMing() throws ParseException {
		
		return new AjaxResult (zuizhongService.CHeLiangNianDuMaoLiPaiMing());
		
	}
	
	/**
	 * @return 衍生年度毛利TOP3（万元）
	 * @throws ParseException
	 */
	@RequestMapping(value = "/YanShengNianDUMaoliPaiMing")
	public Object YanShengNianDUMaoliPaiMing() throws ParseException {
		
		return new AjaxResult (zuizhongService.YanShengNianDUMaoliPaiMing());
		
	}
	
	/**
	 * @return 二手车部车辆业务本月毛利率对比（万元） 每个车型毛利率，折线图或柱形图
	 * @throws ParseException
	 */
	@RequestMapping(value = "/MeiGeCheXingMaoLiLvTu")
	public Object MeiGeCheXingMaoLiLvTu() throws ParseException {
		
		return new AjaxResult (zuizhongService.MeiGeCheXingMaoLiLvTu());
		
	}
	
	/**
	 * @return 二手车部衍生业务本月毛利率对比（万元） 
	 * @throws ParseException
	 */
	@RequestMapping(value = "/XiaoShouBuYanShengYeWuBenyueMaoliLvDuiBi")
	public Object XiaoShouBuYanShengYeWuBenyueMaoliLvDuiBi() throws ParseException {
		
		return new AjaxResult (zuizhongService.XiaoShouBuYanShengYeWuBenyueMaoliLvDuiBi());
		
	}
	
	/**
	 * @return 车辆年度毛利率TOP3（万元）
	 * @throws ParseException
	 */
	@RequestMapping(value = "/CHeLiangNianDuMaoLiLvPaiMing")
	public Object CHeLiangNianDuMaoLiLvPaiMing() throws ParseException {
		
		return new AjaxResult (zuizhongService.CHeLiangNianDuMaoLiLvPaiMing());
		
	}
	
	/**
	 * @return 衍生年度毛利率TOP3（万元）
	 * @throws ParseException
	 */
	@RequestMapping(value = "/YanShengNianDUMaoliLvPaiMing")
	public Object YanShengNianDUMaoliLvPaiMing() throws ParseException {
		
		return new AjaxResult (zuizhongService.YanShengNianDUMaoliLvPaiMing());
		
	}
	
	/**
	 * @return 二手车部各岗位本年度收入对比（万元）
	 * @throws ParseException
	 */
	@RequestMapping(value = "/XiaoShouBuGeGangWeiBenNianDuShouRu")
	public Object XiaoShouBuGeGangWeiBenNianDuShouRu() throws ParseException {
		
		return new AjaxResult (zuizhongService.XiaoShouBuGeGangWeiBenNianDuShouRuDuiBi());
		
	}
	/**
	 * @return 二手车部各岗位本年度毛利率对比（万元）
	 * @throws ParseException
	 */
	@RequestMapping(value = "/XiaoShouBuGeGangWeiBenNianDuMaoLiLvDuiBi")
	public Object XiaoShouBuGeGangWeiBenNianDuMaoLiLvDuiBi() throws ParseException {
		
		return new AjaxResult (zuizhongService.XiaoShouBuGeGangWeiBenNianDuMaoLiLvDuiBi());
		
	}	/**
	 * @return 二手车部各岗位本年度成本对比（万元）
	 * @throws ParseException
	 */
	@RequestMapping(value = "/XiaoShouBuGeGangWeiBenNianDuCHengBen")
	public Object XiaoShouBuGeGangWeiBenNianDuCHengBen() throws ParseException {
		
		return new AjaxResult (zuizhongService.XiaoShouBuGeGangWeiBenNianDuChengBenDuiBi());
		
	}
	/**
	 * @return 二手车部各岗位本年度毛利对比（万元）
	 * @throws ParseException
	 */
	@RequestMapping(value = "/XiaoShouBuGeGangWeiBenNianDuMaoLiDuiBi")
	public Object XiaoShouBuGeGangWeiBenNianDuMaoLi() throws ParseException {
		
		return new AjaxResult (zuizhongService.XiaoShouBuGeGangWeiBenNianDuMaoLiDuiBi());
		
	}
	
	/**
	 * @return 二手车部年厂家提车目标达成情况
	 * @throws ParseException
	 */
	@RequestMapping(value = "/XiaoShouBuNianCHangJiaTiCHeMuBiaoDaChengQingKuang")
	public Object XiaoShouBuNianCHangJiaTiCHeMuBiaoDaChengQingKuang() throws ParseException {
		
		return new AjaxResult (zuizhongService.XiaoShouBuNianCHangJiaTiCHeMuBiaoDaChengQingKuang());
		
	}
	/**
	 * @return 二手车部客户线索量
	 * @throws ParseException
	 */
	@RequestMapping(value = "/XiaoSHouBuKeHuXianSuoLiang")
	public Object XiaoSHouBuKeHuXianSuoLiang() throws ParseException {
		
		return new AjaxResult (zuizhongService.XiaoSHouBuKeHuXianSuoLiang());
		
	}
	
	/**
	 * @return 二手车部客户级别  12个月H\A\B\C客户数量，折线图或柱形图
	 * @throws ParseException
	 */
	@RequestMapping(value = "/ABCHLevel")
	public Object ABCHLevel() throws ParseException {
		
		return new AjaxResult (zuizhongService.ABCHLevel());
		
	}
	/**
	 * @return 二手车部邀约到店量 12个月邀约到店量，折线图或柱形图
	 * @throws ParseException
	 */
	@RequestMapping(value = "/XiaoSHouBuYaoYueLaiDianLiang")
	public Object XiaoSHouBuYaoYueLaiDianLiang() throws ParseException {
		
		return new AjaxResult (zuizhongService.XiaoSHouBuYaoYueLaiDianLiang());
		
	}
	
	/**
	 * @return 年度收入明细（万元）
	 * @throws ParseException
	 */
	@RequestMapping(value = "/NianDuSHouRuMingXi")
	public Object NianDuSHouRuMingXi() throws ParseException {
		
		return new AjaxResult (zuizhongService.NianDuSHouRuMingXi());
		
	}
	
	/**
	 * @return 年度成本明细（万元）
	 * @throws ParseException
	 */
	@RequestMapping(value = "/NianDuChengBenMingXi")
	public Object NianDuChengBenMingXi() throws ParseException {
		
		return new AjaxResult (zuizhongService.NianDuChengBenMingXi());
		
	}
	/**
	 * @return 年度毛利明细（万元）
	 * @throws ParseException
	 */
	@RequestMapping(value = "/NianDuMaoliMingXi")
	public Object NianDuMaoliMingXi() throws ParseException {
		
		return new AjaxResult (zuizhongService.NianDuMaoliMingXi());
		
	}
	
	/**
	 * @return 年度毛利率明细（万元）
	 * @throws ParseException
	 */
	@RequestMapping(value = "/NianDuMaoliLvMingXi")
	public Object NianDuMaoliLvMingXi() throws ParseException {
		
		return new AjaxResult (zuizhongService.NianDuMaoliLvMingXi());
		
	}
	
	/**
	 * @return 二手车部试乘试驾量
	 * @throws ParseException
	 */
	@RequestMapping(value = "/XiaoSHouBuShiCHengShiJiaLiang")
	public Object XiaoSHouBuShiCHengShiJiaLiang() throws ParseException {
		
		return new AjaxResult (zuizhongService.XiaoSHouBuShiCHengShiJiaLiang());
		
	}
	
	/**
	 * @return 客户邀约到店量倒数TOP3
	 * @throws ParseException
	 */
	@RequestMapping(value = "/KeHuYaoYueDaoDianLiangDaoShuPaiMing")
	public Object KeHuYaoYueDaoDianLiangDaoShuPaiMing() throws ParseException {
		
		return new AjaxResult (zuizhongService.KeHuYaoYueDaoDianLiangDaoShuPaiMing());
		
	}
	
	/**
	 * @return 客户邀约到店量倒数TOP3
	 * @throws ParseException
	 */
	@RequestMapping(value = "/KeHuAJiShuLiangDaoShuPaiMing")
	public Object KeHuAJiShuLiangDaoShuPaiMing() throws ParseException {
		
		return new AjaxResult (zuizhongService.KeHuAJiShuLiangDaoShuPaiMing());
		
	}
	
	/**
	 * @return 客户邀约到店量倒数TOP3
	 * @throws ParseException
	 */
	@RequestMapping(value = "/NianDuXianSuoZhuanHuanXiaolv")
	public Object NianDuXianSuoZhuanHuanXiaolv() throws ParseException {
		
		return new AjaxResult (zuizhongService.NianDuXianSuoZhuanHuanXiaolv());
		
	}
	
	/**
	 * @return 二手车部年线索来源一览
	 * @throws ParseException
	 */
	@RequestMapping(value = "/XIaoShouBuNianXianSuoLaiYuan")
	public Object XIaoShouBuNianXianSuoLaiYuan() throws ParseException {
		
		return new AjaxResult (zuizhongService.XIaoShouBuNianXianSuoLaiYuan());
		
	}
	
	/**
	 * @return TOP4二手车顾问与展厅销量占比，饼图
	 * @throws ParseException
	 */
	@RequestMapping(value = "/XiaoShouGuwenCheLiangYuZongLiang")
	public Object XiaoShouGuwenCheLiangYuZongLiang() throws ParseException {
		
		return new AjaxResult (zuizhongService.XiaoShouGuwenCheLiangYuZongLiang());
		
	}
	
	/**
	 * @return TOP4二手车顾问与转介绍销量占比，饼图
	 * @throws ParseException
	 */
	@RequestMapping(value = "/XiaoShouGuwenZhuanJieShaoYuZongLiang")
	public Object XiaoShouGuwenZhuanJieShaoYuZongLiang() throws ParseException {
		
		return new AjaxResult (zuizhongService.XiaoShouGuwenZhuanJieShaoYuZongLiang());
		
	}
	

	/**
	 * @return 二手车部年度综合收入一览（万元）
	 * @throws ParseException
	 */
	@RequestMapping(value = "/XiaoShouBuNianDuZongHeShouRuShiJi1")
	public Object XiaoShouBuNianDuZongHeShouRuShiJi1() throws ParseException {
		
		return new AjaxResult (zuizhongService.XiaoShouBuNianDuZongHeShouRuShiJi1());
		
	}


}
